package com.xwp.feign;

import com.xwp.domain.PurchaseApply;
import com.xwp.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("service-purchase")
public interface PurchaseService {

    /**
     * @// TODO: 2022/9/29  
     * @param purchaseApply
     * @return
     */
    @RequestMapping(value="/purchaseApply/save",method= RequestMethod.POST)
    JSONResult saveOrUpdate(@RequestBody PurchaseApply purchaseApply);

}
